home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form Frm_Copy
- Appearance = 0 'Flat
- BorderStyle = 3 'Fixed Dialog
- Caption = "VB XCopy /s"
- ClientHeight = 2865
- ClientLeft = 1275
- ClientTop = 1935
- ClientWidth = 3330
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 0
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 3270
- Left = 1215
- LinkTopic = "Form1"
- ScaleHeight = 2865
- ScaleWidth = 3330
- Top = 1590
- Width = 3450
- Begin VB.CheckBox chkRecourse
- BackColor = &H00C0FFFF&
- Caption = "Include Subdirs"
- Height = 255
- Left = 120
- TabIndex = 8
- Top = 1200
- Value = 1 'Checked
- Width = 3015
- End
- Begin VB.TextBox txtPattern
- BackColor = &H00C0C0C0&
- Height = 285
- Left = 120
- TabIndex = 7
- Text = "*.*"
- Top = 1560
- Width = 3015
- End
- Begin VB.TextBox txtTo
- Height = 285
- Left = 120
- TabIndex = 5
- Top = 840
- Width = 3015
- End
- Begin VB.TextBox txtFrom
- Height = 285
- Left = 120
- TabIndex = 2
- Top = 240
- Width = 3015
- End
- Begin VB.CommandButton Command1
- Appearance = 0 'Flat
- BackColor = &H80000005&
- Caption = "Copy"
- Height = 375
- Left = 120
- TabIndex = 0
- Top = 1920
- Width = 3015
- End
- Begin VB.Label Lbl_CopyInfo
- BorderStyle = 1 'Fixed Single
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 0
- weight = 400
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 375
- Left = 120
- TabIndex = 1
- Top = 2400
- Width = 3015
- End
- Begin VB.Label Label5
- BackStyle = 0 'Transparent
- Caption = "To:"
- Height = 255
- Left = 120
- TabIndex = 10
- Top = 600
- Width = 855
- End
- Begin VB.Label Label4
- BackStyle = 0 'Transparent
- Caption = "From:"
- Height = 255
- Left = 120
- TabIndex = 9
- Top = 0
- Width = 1335
- End
- Begin VB.Image Image1
- Height = 2865
- Left = 0
- Picture = "XCOPY.frx":0000
- Top = 0
- Width = 3900
- End
- Begin VB.Label Label3
- Appearance = 0 'Flat
- AutoSize = -1 'True
- BackColor = &H80000005&
- BackStyle = 0 'Transparent
- Caption = "&Copy files matching:"
- ForeColor = &H80000008&
- Height = 195
- Left = 240
- TabIndex = 6
- Top = 1320
- Width = 1725
- End
- Begin VB.Label Label2
- Appearance = 0 'Flat
- AutoSize = -1 'True
- BackColor = &H80000005&
- BackStyle = 0 'Transparent
- Caption = "&To:"
- ForeColor = &H80000008&
- Height = 195
- Left = 3600
- TabIndex = 4
- Top = 720
- Width = 300
- End
- Begin VB.Label Label1
- Appearance = 0 'Flat
- AutoSize = -1 'True
- BackColor = &H80000005&
- BackStyle = 0 'Transparent
- Caption = "&From:"
- ForeColor = &H80000008&
- Height = 195
- Left = 240
- TabIndex = 3
- Top = 720
- Width = 480
- End
- Attribute VB_Name = "Frm_Copy"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- R = CopyFiles(CStr(txtFrom), CStr(txtTo), CInt(chkRecourse), CStr(txtPattern))
- If Not R Then
- Else
- Lbl_CopyInfo.Caption = "Done"
- End If
- End Sub
-